//
//  MXHomeFasionModel.m
//  MXの衣柜
//
//  Created by 马霄 on 15/8/10.
//  Copyright (c) 2015年 霄 马. All rights reserved.
//

#import "MXHomeFasionModel.h"

@implementation MXHomeFasionModel
- (void)dealloc
{
    [__id release];
    [_pic_url release];
    [_title release];
    [_coupon_price release];
    [_price release];
    [_icon_type release];
    [_saveCount release];
    [super dealloc];
}

-(instancetype)initWithDic:(NSDictionary *)dic
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.bDescription=value;
    }
}

-(id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

@end
